package com.jyniubi.core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jyniubi.core.pojo.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jyniubi.core.pojo.vo.UserInfoSearchVO;
import com.jyniubi.core.pojo.vo.UserInfoVo;
import com.jyniubi.core.pojo.vo.UserResponseVO;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 用户基本信息 服务类
 * </p>
 *
 * @author jyzhang
 * @since 2024-04-27
 */
public interface UserInfoService extends IService<UserInfo> {

    void register(UserInfoVo userInfoVo);

    UserResponseVO login(UserInfoVo userInfoVO, HttpServletRequest request);

    Page<UserInfo> listPage(UserInfoSearchVO userInfoSearchVO, Integer pageNum, Integer pageSize);
}
